package com.lekang.le.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lekang.common.annotation.Excel;
import com.lekang.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 房型设置对象 room_type
 * 
 * @author szh
 * @date 2025-10-14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RoomType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 房间图片 */
    @Excel(name = "房间图片")
    private String roomImage;

    /** 房间类型 */
    @Excel(name = "房间类型")
    private String roomType;

    /** 床位费用 */
    @Excel(name = "床位费用")
    private BigDecimal bedFee;

    /** 创建人 */
    private Long creator;

    /** 房型介绍 */
    @Excel(name = "房型介绍")
    private String roomDescription;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 逻辑删除 */
    private Long isDeleted;

    /** 额外字段1 */
    private String extraField1;

    /** 额外字段2 */
    private String extraField2;
    /** 关联：当前房型归属的楼层（多对1） */
    private Floor floor;
    /** 关联：当前房型下的所有房间（1对多） */
    private List<Room> roomList;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setRoomImage(String roomImage) 
    {
        this.roomImage = roomImage;
    }

    public String getRoomImage() 
    {
        return roomImage;
    }

    public void setRoomType(String roomType) 
    {
        this.roomType = roomType;
    }

    public String getRoomType() 
    {
        return roomType;
    }

    public void setBedFee(BigDecimal bedFee) 
    {
        this.bedFee = bedFee;
    }

    public BigDecimal getBedFee() 
    {
        return bedFee;
    }

    public void setCreator(Long creator) 
    {
        this.creator = creator;
    }

    public Long getCreator() 
    {
        return creator;
    }

    public void setRoomDescription(String roomDescription) 
    {
        this.roomDescription = roomDescription;
    }

    public String getRoomDescription() 
    {
        return roomDescription;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    public void setExtraField1(String extraField1) 
    {
        this.extraField1 = extraField1;
    }

    public String getExtraField1() 
    {
        return extraField1;
    }

    public void setExtraField2(String extraField2) 
    {
        this.extraField2 = extraField2;
    }

    public String getExtraField2() 
    {
        return extraField2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roomImage", getRoomImage())
            .append("roomType", getRoomType())
            .append("bedFee", getBedFee())
            .append("creator", getCreator())
            .append("roomDescription", getRoomDescription())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .append("isDeleted", getIsDeleted())
            .append("extraField1", getExtraField1())
            .append("extraField2", getExtraField2())
            .toString();
    }
}
